<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #app {
            margin-left: 150px;
        }

        .first {
            width: 1000px;
            height: 30px;
            color: white;
            background-color: black;
        }

        .first ul {
            margin-left: 600px;
        }

        .first ul li a {
            margin-left: 15px;
            color: white;
            font-size: 12px;
            line-height: 30px;
        }

        .first ul li a:hover {
            color: rgb(10, 229, 123);
        }

        ul {
            list-style: none;
        }

        a {
            text-decoration: none;
        }

        .first ul li {
            display: inline-block;
        }

        .HeadNav {
            width: 100%;
            height: 60px;
            background-color: white;
            margin-top: 30px;
        }

        .HeadNav ul {
            margin-left: 300px;
        }

        .HeadNav ul li {
            display: inline-block;
            color: black;
            margin-left: 30px;
        }

        .HeadNav ul li a {
            color: black;
            font-size: 15px;
            line-height: 60px;
        }

        .HeadNav ul li a:hover {
            color: rgb(10, 229, 123);
        }

        .Banner {
            width: 100%;
            height: 400px;
            margin-top: 10px;
            display: flex;
        }

        .Banner .left {
            width: 200px;
            height: 400px;
            background-color: rgb(66, 58, 58);
        }

        .Banner .left ul li {
            display: flex;
            color: white;
            width: 200px;
            height: 40px;
        }

        .Banner .left ul li a {
            color: white;
            font-size: 15px;
            line-height: 40px;
            margin-left: 20px;
        }

        .Banner .left ul li span {

            font-size: 15px;
            line-height: 40px;
            margin-left: 100px;
            cursor: pointer;
        }

        .Banner .left ul li:hover {
            background-color: rgb(10, 229, 123);
        }

        .Banner .right {
            width: 800px;
            height: 400px;
        }

        .Banner .right img {
            display: block;
            width: 800px;
            height: 400px;
        }
    </style>
</head>

<body>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <div id="app">
        <div class="first">
            <ul>
                <li v-for="(item,index) in list" :key="id">
                    <a href="#">{{item.title}}</a>
                </li>
            </ul>
        </div>
        <div class="HeadNav">
            <ul>
                <li v-for="(item,index) in list2" :key="id">
                    <a href="#">{{item.title}}</a>
            </ul>
        </div>
        <div class="Banner">
            <div class="left">
                <ul>
                    <li v-for="(item,index) in list3" :key="id">
                        <a href="#">{{item.title}}</a>
                        <span>></span>
                    </li>
                </ul>
            </div>
            <div class="right">
                <img src="./images/t1.gif">
            </div>
        </div>
    </div>

    <script>
        const { createApp } = Vue
        createApp({
            data() {
                return {
                    list: [
                        { id: 1, title: '请先登录', url: '/login' },
                        { id: 2, title: '免费注册', url: '/register' },
                        { id: 3, title: '我的订单', url: '/order' },
                        { id: 4, title: '帮助中心', url: '/help' },
                        { id: 5, title: '客服中心', url: '/customer' },
                        { id: 6, title: '关于我们', url: '/about' },
                    ],
                    list2: [
                        { id: 1, title: '首页', url: '/index' },
                        { id: 2, title: '苹果', url: '/goods' },
                        { id: 3, title: '菠萝', url: '/cart' },
                        { id: 4, title: '草莓', url: '/user' },
                        { id: 5, title: '西瓜', url: '/order' },
                        { id: 6, title: '葡萄', url: '/help' },
                        { id: 7, title: '芒果', url: '/customer' },
                    ],
                    list3: [
                        { id: 1, title: '苹果', url: '/goods' },
                        { id: 2, title: '菠萝', url: '/cart' },
                        { id: 3, title: '草莓', url: '/user' },
                        { id: 4, title: '西瓜', url: '/order' },
                        { id: 5, title: '葡萄', url: '/help' },
                        { id: 6, title: '芒果', url: '/customer' },
                        { id: 7, title: '芒果', url: '/customer' },
                        { id: 8, title: '芒果', url: '/customer' },
                        { id: 9, title: '芒果', url: '/customer' },
                        { id: 10, title: '芒果', url: '/customer' },
                    ],
                    msg: [
                        './images/t1.gif',
                        './images/t2.jpg',
                        './images/t3.jpg',
                        './images/t4.jpg',
                        './images/t5.jpg',
                        './images/t6.jpg',
                    ]
                }
            }
        }).mount('#app')
    </script>
</body>

</html>